package com.woniu.project.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.project.core.domain.Image;
import com.woniu.project.dto.imagedto.ImageDto;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author WHF
 * @since 2020-10-13
 */
public interface IImageService extends IService<Image> {

    public List<ImageDto> selectImageByProductEntityId(Integer productEntityId);

    void deleteImages(Integer productEntityId);

    void insertImage(Integer productEntityId, String imageaddr, String imageComment);

    String iconUpload(MultipartFile file);
}
